<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\Teacher */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="teacher-form">

    <?php $form = ActiveForm::begin(); ?>
    
    <?= $form->field($model, 'XXID')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->xX, 'ZWMC')->textInput()->label('学校名称') ?>
    
    <?= $form->field($model, 'GRID')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'name')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'sex')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'birthday')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'id_number')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'mobile')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model->gR, 'email')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'GH')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'BMID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZYID')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'GWMC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZW')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZC')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'RZSJ')->textInput() ?>

    <?= $form->field($model, 'LRSJ')->textInput() ?>

    <?= $form->field($model, 'BZ')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'ZT')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
